package com.bitcola.security.activity.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;

@Data
@Builder
@Table(name = "ag_admin_v1.mining_point")
@NoArgsConstructor
@AllArgsConstructor
public class MiningPoint {
    @Column(name = "id")

            @Id
    String id;
    @Column(name = "mining_power")

    BigDecimal miningPowers;//算力
    @Column(name = "pay_coin_codes")
    String payCoinCodes;//支付币种
    @Column(name = "price")

    BigDecimal prices;//价格
    @Column(name = "max_last_time")

    long maxLastTime;//周期
    @Column(name = "last_time")

    long lastTime;//最大领取周期
    @Column(name = "unit")

    String unit;//单位
    @Column(name = "transform_unit")

    BigDecimal transformUnit;//显示算力
    @Column(name = "level")

    int level;//级别
    @Column(name = "product_coin_code")

    String productCoinCodes;//产出币种

    @Column(name = "limits")

    int limit;

    @Column(name = "introduction")
    String introduction;
    @Column(name = "name")

    String name;
    @Transient
    long numbers;
}
